<?php include("../components/autoload.php"); ?>
<?php include("../components/functions.php"); ?>
<?php include("../../components/connection.php"); ?>

<?php
	@header('Content-Type: text/html; charset=UTF-8'); 

	$league = new Liga(0);
	
	$league->ime = $_POST['name'];
	$league->sezona = $_POST['season'];

	$league->insertIntoDb();
?>